import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import {App} from "vue";


/** Setup Vue store plugin pinia */
export function setupStore(app: App) {
    const store = createPinia();
    store.use(piniaPluginPersistedstate);

    app.use(store);
}
